/**
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; version 2 of the License.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY. 
 * See the GNU General Public License for more details.
 * 
 * Copyright (C) 2011 CellObject.net
 */
package net.cellobject.javacodeformatter.model;

import java.util.EventObject;

public class FormatterManagerEvent extends EventObject {
	private static final long serialVersionUID = 3697053173951102953L;

	private final IFormatterItem[] added;

	private final IFormatterItem[] removed;

	public FormatterManagerEvent(final FormatterManager source, final IFormatterItem[] itemsAdded, final IFormatterItem[] itemsRemoved) {
		super(source);
		added = itemsAdded;
		removed = itemsRemoved;
	}

	public IFormatterItem[] getItemsAdded() {
		return added;
	}

	public IFormatterItem[] getItemsRemoved() {
		return removed;
	}
}
